package com.situ.student.dao;

import java.util.List;

import com.situ.student.entity.Banji;
import com.situ.student.entity.Student;

public interface IBanjiDao {
	public List<Banji> list();
/**
 * 根据ID删除
 * @param id
 * @return
 */
public abstract int deleteById(Integer id);
/**
 * 添加数据
 */
public abstract int insert(Banji banji);
/**
 * 修改数据
 */
public abstract int update(Banji banji);
/**
 * 
 */
public abstract Banji findById(Integer id);
/**
 * 
 */
public abstract int getTotalCount();
/**
 * 
 * @param offset
 * @param pageSize
 * @return
 */
public List<Banji> pageList(int offset, int pageSize);
}
